package org.csu.petserver.service;

import org.csu.petserver.domain.Category;
import org.csu.petserver.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryInfo {
    public List<Category> getAll();

    public List<Product> getAllProductByCategory(Category category);
    public boolean updateCategory(Category category);

    public List<Product> getAllProductByCategoryId(String categoryId);
}
